package com.dvd.controller;

import com.dvd.entity.DVDItem;

public class DvdController {

	private String novoGenero;
	private DVDItem dvdItem = new DVDItem();
	
	
	/**
	 * 
	 * Incluir Add DVD
	 * @ return String
	 *  
	 * **/
	
	public String incluir(){
		if(this.novoGenero != null && this.novoGenero.length()>0){
			dvdItem.setGenre(this.novoGenero);
		}//end if
		return"success";	
	}


	public String getNovoGenero() {
		return novoGenero;
	}


	public void setNovoGenero(String novoGenero) {
		this.novoGenero = novoGenero;
	}


	public DVDItem getDvdItem() {
		return dvdItem;
	}


	public void setDvdItem(DVDItem dvdItem) {
		this.dvdItem = dvdItem;
	}
	
	
}
